package cn.itsource.product.service;

import cn.itsource.basic.service.IBaseService;
import cn.itsource.product.domain.Product;
import cn.itsource.product.domain.ProductDetail;

import java.util.List;

public interface IProductService extends IBaseService<Product> {
    ProductDetail getDetailByProductId(Long productId);

    void onsaleOrOffsale(List<Long> ids, int flag);
}
